package com.tone.ji_volunteer.service.impl;

import com.tone.ji_volunteer.mapper.UserMapper;
import com.tone.ji_volunteer.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author tone(ang)
 * version 1.0
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<String> getAllParticipants(Integer activityId) {
        return  userMapper.getAllParticipants(activityId);
    }
}
